Alchemy Help:
Step-by-step instructions


[Contents] [Index] [Project Preferences] [Alchemy Preferences] [Overview]

Serving up a home page from scratch

This tutorial will give you step-by-step instructions for creating a very simple home page with Alchemy and uploading it to your web server. You will create a new project, use the internal Web Editor to create the home page, view the page in your web browser application, add the page to your project and upload the project to your web server. Please note that this tutorial is intended to be a walk-through of the mechanics of setting up a new project, not an in-depth discussion of how Alchemy works. You can find this type of information in the Project Preferences, Alchemy Preferences and Overview sections of the manual. There are also links to detailed information at the beginning of each section below.

The tutorial assumes the following:

Ok, let's get started!

Step 1. Create a new project

The project will be located in the c:\alchemy\example directory. Go to the Alchemy project window and select the File/New project file menu item. You will see the New project dialog box.

There are six areas in the dialog, we will fill them in one by one as we walk through the six sections below. As we proceed, you can get a detailed explanation of what's in each of the fields in a particular area and what it's used for by clicking the area name that appears at the beginning of the section.

You can move between areas in the dialog box by clicking on the list box at the left. The first area, Project, is already selected.

1. Project

2. Home page

3. FTP

Alchemy uses FTP to upload your project to the server, to automatically connect to your server when you start an FTP session, and optionally to set the access permissions on your files. If you don't have this information, you will not be able to upload your project to the server, and you must make up a value for the Host name since it is a required field.

4. Telnet

Alchemy uses this information to automatically connect to your server when you start a Telnet session, and optionally to set the access permissions on your files.

5. CGI-BIN

6. Project Upload

At this point, the Save pushbutton should be enabled. Press the Save button to create the new project file. When you are returned to the Alchemy project window, you will see that the project folder is named "My project". The two folders below it, "Home" and "CGI-BIN", are built-in folders that are part of every Alchemy project.


Step 2. Create the home page

In this step you will use the Alchemy Web Editor to create the home page. The file name will be c:\alchemy\example\index.htm. Go to the Alchemy Web Editor window and proceed as follows:

That's it, you're done!


Step 3. View the home page in your web browser

Select the File/View current buffer in browser menu item to see the page in your web browser application.


Step 4. Add the home page to the project

Select the File/Save current buffer as... menu item to save your home page as "c:\alchemy\example\index.htm", then select the File/Add current buffer to project menu item to add the home page to the project. Now go to the Alchemy Project window, where you will see that there is now a new folder called "My Home Page", which is the HTML document we just created. If you select the folder by clicking on it with the mouse, you will see that it contains the two images that we added.


Step 5. Upload the project to the web server

If you filled in the host information when you created the project (items 2 through 6) you can go to the Project window now and select the Project/Upload project to server using dependencies... menu item to send your project to the web server. If you have trouble while uploading the project, it will probably be a problem with the FTP and/or Telnet values. You can use the Message window to troubleshoot your setup. Remember, the FTP and Telnet settings in Alchemy are the same as those that you would use to connect to your service provider with any other FTP or Telnet application. If they work in an external application (WS_FTP.EXE, for example) then they will work in Alchemy.


A Next Wave communication. © Copyright 1996 Next Wave Software. All rights reserved. Feedback to feedback@stormsurge.com.